﻿using Idte.Common.Process;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;


namespace Idte.Application.Core
{
    public abstract class ApplicationServiceBase : IApplicationService
    {
        IApplicationModel model;
        public ApplicationServiceBase(IApplicationModel model)
        {
            this.model = model;
        }

        public IExecutionEngine Engine { get; set; }
        public virtual IApplicationModel GetModel()
        {
            return this.model;
        }

        public ICollection<IAppContext> GetContext(Actor.ApplicationUser user)
        {
            throw new NotImplementedException();
        }

        
    }
}
